package org.foreveross.taluo.infra;

import java.util.List;
import java.util.Map;

import org.foreveross.que.infra.base.ddd.repository.IBaseRepository;
import org.foreveross.taluo.entity.AcRoleEntity;
import org.foreveross.taluo.entity.AcRolegroupEntity;
import org.foreveross.taluo.entity.AcUserEntity;

public interface ITaluoBaseRepository extends IBaseRepository {
	/**
	 * 查找塔罗所有有效用户
	 * @return
	 */
	public List<AcUserEntity> findAcUsers();
	/**
	 * 查找塔罗所有有效角色
	 * @return
	 */
	public List<AcRoleEntity> findAcRoles();
	 /**
	  * 查找塔罗用户角色关系
	  * @param users
	  * @return
	  */
	public Map <Long,List<AcRolegroupEntity>> findAcUserRoleR(List <AcUserEntity> users);
}
